<?php
/* -------------------------------------------------------------------------------------
* 	ID:						$Id: function.index_html.php 359 2013-11-26 16:51:11Z phone.mueller@googlemail.com $
* 	Letzter Stand:			$Revision: 359 $
* 	zuletzt geaendert von:	$Author: siekiera $
* 	Datum:					$Date: 2013-11-26 16:51:11 +0000 (Tue, 26 Nov 2013) $
*
* 	SEO:mercari by Siekiera Media
* 	http://www.seo-mercari.de
*
* 	Copyright (c) since 2011 SEO:mercari
* --------------------------------------------------------------------------------------
* 	based on:
* 	(c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
* 	(c) 2002-2003 osCommerce - www.oscommerce.com
* 	(c) 2003     nextcommerce - www.nextcommerce.org
* 	(c) 2005     xt:Commerce - www.xt-commerce.com
*
* 	Released under the GNU General Public License
* ----------------------------------------------------------------------------------- */
function smarty_function_index_html($V21ffce5b, $V0abed2a5) {global $db;$Va7dd12b1 = false;if(!empty($V21ffce5b)) {$V8c7dd922 = $V21ffce5b['file'];$V599dcce2 = $V21ffce5b['type'];unset($V21ffce5b);if(PRODUCT_ID > 0) {$V83878c91 = $db->db_query("SELECT products_col_".$V599dcce2." FROM ".TABLE_PRODUCTS." WHERE products_id = '".intval(PRODUCT_ID)."'",true);if($V83878c91->fields['products_col_'.$V599dcce2] == '1') $Va7dd12b1 = true;} elseif(CONTENT_ID > 0) {$Vab6c0400 = $db->db_query("SELECT content_col_".$V599dcce2." FROM ".TABLE_CONTENT_MANAGER." WHERE content_group = '".intval(CONTENT_ID)."'",true);if($Vab6c0400->fields['content_col_'.$V599dcce2] == '1')$Va7dd12b1 = true;}elseif(CAT_ID > 0) {$Vb0b14ca0 = explode('_', CAT_ID);$V5435c69e=$db->db_query("SELECT categories_col_".$V599dcce2." FROM ".TABLE_CATEGORIES." WHERE categories_id='".intval(end($Vb0b14ca0))."'",true);if($V5435c69e->fields['categories_col_'.$V599dcce2] == '1')$Va7dd12b1=true;} else {echo $V0abed2a5->fetch(TEMPLATE_SNIPPETS.$V8c7dd922);}if($Va7dd12b1)echo $V0abed2a5->fetch(TEMPLATE_SNIPPETS.$V8c7dd922);else return;}}?>